package com.atguigu.springcloud.service;

import org.springframework.stereotype.Service;

@Service
public class PaymentRemoteHystrixServiceImpl implements PaymentRemoteHystrixService{
    @Override
    public String testHystrixOk(Integer id) {
        return "对方服务端以宕机!无法使用!";
    }

    @Override
    public String testHystrixTimeout(Integer id) throws InterruptedException {
        return "对方服务端以宕机!无法使用!";
    }
}
